package com.example.service;

import org.springframework.stereotype.Service;

@Service
public class FallbackHandle implements NacosService{
    @Override
    public String provider(String username, Integer age) {
        return "provider微服务=>名字"+username+"年龄"+age+"发生错误";
    }

    @Override
    public String teachers() {
        return "教师查询远程调用发生错误";
    }
}
